package com.模板模式.pojo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class User implements Serializable {

    @Excel(name = "用户名称")
    private String userName;

    @Excel(name = "会员等级",replace = {"1_普通用户","2_普通会员","3_银牌会员","4_金牌会员","5_钻石会员"})
    private Integer level;

    @Excel(name = "电话")
    private String phone;
}
